package com.tencreat.domain.mall.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class MallCommentVO {

    private Long id;


    private Long goodsId;

    private String goodsName;

    private String goodsUrl;

    private String orderSn;

    private Integer type;

    private Integer commentState;

    /**内容 */
    private String content;

    /** 管理员回复内容 */
    private String adminContent;

    private Long uuid;

    private String phone;

    private String userName;
    /** 是否含有图片 */
    private Integer hasPicture;

    private List<String> picUrls;

    private List<String> adminPicUrls;


    /** 评分， 1-5 */
    private Integer star;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime adminTime;

    @ApiModelProperty("商家名称")
    private String supplierName;

    @ApiModelProperty("商家手机号码")
    private String mobile;

    @ApiModelProperty("评论状态 0-显示 1-隐藏")
    private Integer isHide;
}
